---
title: 'New Relic'
description: 'Configuring the New Relic backend (Managed)'
sidebarTitle: 'New Relic'
icon: 'signal-stream'
---

### Getting Started

<img src="https://d15jtxgb40qetw.cloudfront.net/newrelic.svg" alt="newrelic" className="not-prose h-20" />

{/*
    Add custom content here (under this comment)...

    e.g.

    **Creating Account**<br />
    Go to the **[🔗 website](https://odigos.io) > Account** and click **Sign Up**

    **Obtaining Access Token**<br />
    Go to **⚙️ > Access Tokens** and click **Create New**

    !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
    !! START CUSTOM EDIT !!
*/}

**Obtaining a License Key**<br/>
On the left sidebar, click on your account name and select **API Keys** and then click on **Create a key**.

<Frame>
  <img src="/backends/images/newrelic1.png" alt="New Relic API keys" />
</Frame>

For key type select **Ingest - License**, give a name to your key and press **Create a key**.

<Frame>
  <img src="/backends/images/newrelic2.png" alt="Create an API key screen in New Relic" />
</Frame>

{/*
    !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
    !! END CUSTOM EDIT !!
*/}

### Configuring Destination Fields

<Accordion title="Supported Signals:">
  ✅ Traces
  ✅ Metrics
  ✅ Logs
</Accordion>

- **NEWRELIC_API_KEY** `string` : License Key.
  - This field is required
- **NEWRELIC_ENDPOINT** `string` : Endpoint.
  - This field is required

### Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

##### **Using the UI**

<Steps>
  <Step>
    Use the [Odigos CLI](https://docs.odigos.io/cli/odigos_ui) to access the UI
    ```bash
    odigos ui
    ```
  </Step>
  <Step>
    Click on `Add Destination`, select `New Relic` and follow the on-screen instructions
  </Step>
</Steps>

##### **Using Kubernetes manifests**

<Steps>
  <Step>
    Save the YAML below to a file (e.g. `newrelic.yaml`)
    ```yaml
    apiVersion: odigos.io/v1alpha1
    kind: Destination
    metadata:
      name: newrelic-example
      namespace: odigos-system
    spec:
      data:
        NEWRELIC_ENDPOINT: '<Endpoint (options: [https://otlp.nr-data.net, https://otlp.eu01.nr-data.net])>'
      destinationName: newrelic
      secretRef:
        name: newrelic-secret
      signals:
      - TRACES
      - METRICS
      - LOGS
      type: newrelic

    ---

    apiVersion: v1
    data:
      NEWRELIC_API_KEY: <Base64 License Key>
    kind: Secret
    metadata:
      name: newrelic-secret
      namespace: odigos-system
    type: Opaque
    ```
  </Step>
  <Step>
    Apply the YAML using `kubectl`
    ```bash
    kubectl apply -f newrelic.yaml
    ```
  </Step>
</Steps>